package com.fowo.api.model.platformshippinglogistics;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/** 平台仓物流 导入导出辅助模型 */
@Getter
@Setter
public class PlatformshippinglogisticsExcelPo {

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "所属平台仓发货单")
  private String parentPlatformshippingShipmentCode;

  @ExcelIgnore
  @ExcelProperty(value = "所属平台仓发货单")
  private Long parentPlatformshipping;

  @Size(max = 50, message = "物流商单号长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "物流商单号")
  private String logisticsCode;

  @ExcelProperty(value = "其他费用")
  private java.math.BigDecimal othPrice;

  @ExcelProperty(value = "实际物流费用")
  private java.math.BigDecimal realityLogisticsPrice;

  @ExcelProperty(value = "实际其他费用")
  private java.math.BigDecimal realityOthPrice;

  @Size(max = 50, message = "其他费用备注长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "其他费用备注")
  private String remarks;
}
